package com.kupurui.asteacher.adapter;

import android.content.Context;

import com.android.frame.adapter.CommonAdapter;
import com.android.frame.adapter.ViewHolder;
import com.kupurui.asteacher.R;
import com.kupurui.asteacher.bean.NewJobInfo;

import java.util.List;

/**
 * Created by Administrator on 2017/10/19.
 */

public class YuFaBuAdapter extends CommonAdapter<NewJobInfo.YufabuBean> {

    public YuFaBuAdapter(Context context, List<NewJobInfo.YufabuBean> mList, int itemLayoutId) {
        super(context, mList, itemLayoutId);
    }

    @Override
    public void convert(ViewHolder holder, NewJobInfo.YufabuBean item, int positon) {
        holder.setTextViewText(R.id.tv_job_title,item.getTitle()+"/");
        holder.setTextViewText(R.id.tv_job_num,"共"+item.getWork_number()+"题");

    }
}
